import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from '../router';

//引入全局组件
import HelloWorld from './components/HelloWorld.vue';

const app = createApp(App);

//挂在到dom树上面
app.component('HelloWorld',HelloWorld)
app.use(router);
app.mount('#app');